<#189#>decl<#189#>
|| <#190#>cmd<#190#> <#191#>ENC<#191#> <#192#>family<#192#> <#193#>series<#193#>
<#194#>shape<#194#> <#195#>size<#195#>
Declares command <#197#>cmd<#197#> to be a font switch which selects the font
that is specified by the attributes <#198#>ENC<#198#>, <#199#>family<#199#>, <#200#>series<#200#>,
<#201#>shape<#201#>, and <#202#>size<#202#>.
The font is selected without any adjustments to baselineskip and other
surrounding conditions.
This example makes |<#203#>#tex2html_accent_inline1781#<#203#>| select a small dot very quickly:
<#204#>tex2html_preform<#204#>verbatim44#
<#206#>decl<#206#>
|| <#207#>cmd<#207#> <#208#>font-switches<#208#>
Declares command <#210#>cmd<#210#> to be a font command with one argument.
The current font attributes are locally modified by <#211#>font-switches<#211#>
and then the argument of <#212#>cmd<#212#> is typeset in the resulting new font.
Commands defined by || automatically take care
of any necessary italic correction (on either side).
The following example shows how |<#0#>#tex2html_accent_inline1782#<#0#> is defined by the kernel.
<#213#>tex2html_preform<#213#>verbatim45#
To define a command that always typeset its argument in the italic
shape of the main document font you could declare:
<#215#>tex2html_preform<#215#>verbatim46#
This declaration can be used to change the meaning of a command; if
<#217#>cmd<#217#> is already defined, a log that it has been redefined
is put in the transcript file.
<#218#>decl<#218#>
|| <#219#>cmd<#219#> <#220#>text-switch<#220#>
<#221#>math-switch<#221#>
Declares command <#223#>cmd<#223#> to be a font switch (i.e.~used with the
syntax |<#224#>;SPMlt;cmd;SPMgt;...<#224#>|) having the definition <#225#>text-switch<#225#>
when used in text and the definition <#226#>math-switch<#226#> when used in a
formula.
Math alphabet commands, like ||, when used within <#227#>math-switch<#227#>
should not have an argument. Their use in this argument causes their
semantics to change so that they here act as a font switch, as
required by the usage of the <#228#>cmd<#228#>.
This declaration is useful for setting up commands like || to behave
as they did in LATEX~2.09. We strongly urge you not to misuse
this declaration to invent new font commands.
The following example defines || to produce the italic shape of the
main document font if used in text and to switch to the font that would
normally be produced by the math alphabet || if used in a
formula.
<#230#>tex2html_preform<#230#>verbatim47#
This declaration can be used to change the meaning of a command; if
<#232#>cmd<#232#> is already defined, a log that it has been redefined
is put in the transcript file.